function [data1]=recive(A)
[a,b]=size(A);
data1=double.empty(0,2);
for i=1:a
    while(strcmp(A(i,:),'AA'))
        if strcmp(A(i+2,:),'00')
            count=hex2dec(A(i+3,:));
            strat_angle=(bitshift(hex2dec(strcat(A(i+5,:),A(i+4,:))),-1))/64;
            end_angle=(bitshift(hex2dec(strcat(A(i+7,:),A(i+6,:))),-1))/64;

%             one_int=hex2dec(strcat(A(i+1,:),A(i,:)));
%             two_int=hex2dec(strcat(A(i+5,:),A(i+4,:)));
%             three_int=hex2dec(strcat(A(i+11,:),A(i+10,:)));
%             four_int=hex2dec(strcat(A(i+3,:),A(i+2,:)));
%             five_int=hex2dec(strcat(A(i+7,:),A(i+6,:)));
%             l1=bitxor(one_int,two_int);
%             l2=bitxor(l1,three_int);
%             l3=bitxor(l2,four_int);
%             l4=bitxor(l3,five_int);
            %l3=bitxor(l2,five_int);
%             jiaoyan=strcat(A(i+9,:),A(i+8,:));
%             while strcmp(dec2hex(l4),jiaoyan)
                SA=A(i+10:(i+(2*count+9)),:);
                if (i+(2*count+10))>a
                    return;
                end
                data=range_data(SA,2*count,strat_angle,end_angle);
                data1=[data1;data];
                i=i+10+count*2;
        else
            if i+74>a
                break;
            elseif i>(a-12)
                break;
            end
            i=i+12;
        end
    end
end
end